<%--
  Created by IntelliJ IDEA.
  User: 梁家源
  Date: 2021/4/1
  Time: 20:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>新增类别</small>
                </h1>
            </div>
        </div>
    </div>

    <form action="${pageContext.request.contextPath}/addCategory" method="post">
        <div class="form-group">
            <label >类 别 名 称</label>
            <!--这里加个name=属性名，自动封装到Student对象中-->
            <input type="text" name="cname" class="form-control" required/>
        </div>

        <div class="form-group">
            <input type="submit" class="form-control" value="添 加" />
        </div>

    </form>

</div>

</body>
</html>
